<?php
$form = $this->beginWidget('CActiveForm', array(
    'id' => 'philosophy-form',
    'enableAjaxValidation' => false,
    'enableClientValidation' => true,
    'htmlOptions' => array(
        'class' => 'form-horizontal',
        //'enctype' => 'multipart/form-data',
    ),
        ));
?>
<div class="row-fluid">
            <div class="span12">
                <!--PAGE CONTENT BEGINS-->

                <div class="control-group">
                    <label class="control-label">Priority</label>
                    <div class="controls">
                        <?php echo $form->textField($model,'priority',array('maxlength'=>"100", "size"=>"60",'placeholder' => 'Priority'))?>
                    </div>
                </div>

                <div class="control-group">
                    <label class="control-label">Author</label>
                    <div class="controls">
                        <?php echo $form->textField($model,'author',array('maxlength'=>"100", "size"=>"60",'placeholder' => 'Author'))?>
                    </div>
                </div>

                <div class="control-group" >
                    <label class="control-group">Content</label>
                            </div>       
                            <?php
                            $this->widget('ext.editMe.ExtEditMe', array(
                                'id' => 'description',
                                'height' => '250px',
                                'width' => '100%',
                                'model' => $model,
                                'attribute' => 'pr_content',
                                'toolbar' => Yii::app()->params['ckeditor'],
                                'filebrowserBrowseUrl' => Yii::app()->baseUrl . '/ckfinder/ckfinder.html',
                                'filebrowserImageBrowseUrl' => Yii::app()->baseUrl . '/ckfinder/ckfinder.html?type=Images',
                                'filebrowserFlashBrowseUrl' => Yii::app()->baseUrl . '/ckfinder/ckfinder.html?type=Flash',
                                'filebrowserUploadUrl' => Yii::app()->baseUrl . '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
                                'filebrowserImageUploadUrl' => Yii::app()->baseUrl . '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
                                'filebrowserFlashUploadUrl' => Yii::app()->baseUrl . '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash',
                            ));
                            ?>   

                <div class="clear"></div>
            </div>
            <!--PAGE CONTENT ENDS-->
        </div><!--/.row-fluid-->
    </div>
    <div class="form-actions">
                    <button class="btn btn-info" type="submit">
                        <i class="icon-ok bigger-110"></i>
                        Submit
                    </button>
                </div>
</div>        

<?php $this->endWidget(); ?>